From 53296e77bfedff2ffc47f738453e44d52681ecfe Mon Sep 17 00:00:00 2001 From: "Andreas Tille tille@debian.org, Rebecca N. Palmer" Date: Sat, 2 Mar 2019 14:59:35 +0000 Subject: [PATCH] Do not try to access remote locations on buildtime test Bug-Debian: https://bugs.debian.org/882641 Gbp-Pq: Name prevent_online_access_in_buildtime_tests.patch --- statsmodels/datasets/tests/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/statsmodels/datasets/tests/test_utils.py b/statsmodels/datasets/tests/test_utils.py index 23115b5..c8d91ad 100644 --- a/statsmodels/datasets/tests/test_utils.py +++ b/statsmodels/datasets/tests/test_utils.py @@ -20,6 +20,7 @@ def test_get_rdataset(): #@dec.skipif(not internet_available) def t_est_webuse(): # test copied and adjusted from iolib/tests/test_foreign + raise SkipTest('No remote connection at Debian package build time - skipping test') from statsmodels.iolib.tests.results.macrodata import macrodata_result as res2 #base_gh = "http://github.com/statsmodels/statsmodels/raw/master/statsmodels/datasets/macrodata/" base_gh = "http://www.statsmodels.org/devel/_static/" @@ -29,6 +30,7 @@ def t_est_webuse(): #@dec.skipif(not internet_available) def t_est_webuse_pandas(): # test copied and adjusted from iolib/tests/test_foreign + raise SkipTest('No remote connection at Debian package build time - skipping test') from pandas.util.testing import assert_frame_equal from statsmodels.datasets import macrodata dta = macrodata.load_pandas().data -- 2.30.2